class BlockStock < ApplicationRecord
  belongs_to :stock
  belongs_to :block

  def self.ransackable_associations(auth_object = nil)
    ["block", "stock"]
  end
  def self.ransackable_attributes(auth_object = nil)
    ["block_id", "created_at", "id", "position", "stock_id", "updated_at"]
  end

end
